CONFIG += debug_and_release precompile_header APP_PACKAGE
TARGET = QmlDemon
TEMPLATE = lib
QT += qml quick qml-private quick-private core-private gui-private
DEFINES+=APP_LogTag=\\\"QmlDemon\\\"

include (definition.pri)

qt_shared_libraries += libQmlFramework libNGFrameworkBase \
    libnqfnctlfactoryproxy libnqfnctlfactory libnqfnctlproxy

HEADERS += \
    src/UI/Import/QmlPlugin.h \
    src/AppEntry/AppEntry.h \
    src/AppEntry/ViewController.h \
    src/UI/View/Demo.h \
    src/ViewLoadHelper.h \
    src/UI/QrcPrefixsDefine.h

SOURCES += \
    src/UI/Import/QmlPlugin.cpp \
    src/AppEntry/AppEntry.cpp  \
    src/AppEntry/ViewController.cpp \
    src/UI/View/Demo.cpp

INCLUDEDIRS += \
    src/UI \
    src/AppEntry \
    src

INCLUDEPATH += $$INCLUDEDIRS
DEPENDPATH += $$INCLUDEDIRS

OTHER_FILES += Manifest.xml \
    nutshell.mk

RESOURCES += \
    src/UI/stm/stm.qrc \
    src/UI/View/view.qrc \
    src/UI/QmlComponents/qmlComponents.qrc \
    image.qrc

include (common.pri)
